/**
 * 2025/01/01 - 2025/12/31
 */
package com.snail.starter.iam.authentication.local.token;

import com.snail.starter.commons.threadlocal.UserContext;

/**
 *
 * @author zgadmin
 * @date 2025/8/26 15:43
 *
 */
public interface ITokenService {

    String generate(UserContext userContext);

    boolean renew(String token);

    boolean destroy(String token);

    boolean destroyAll(String token);

    UserContext get(String token);

}
